﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Data.Attributes
{
    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)]
    public class TablesAttribute : System.Attribute
    {
        #region Table Members
        private string _table_name;
        #endregion

        #region Properties
        /// <summary>
        /// Tablo Adı
        /// </summary>
        public string Table_Name
        {
            get { return _table_name; }
            set { _table_name = value; }
        }
        #endregion

        #region Constructor Methods

        /// <summary>
        /// Tablo Adı
        /// </summary>
        /// <param name="tablename"></param>
        public TablesAttribute(string tablename)
        {
            Table_Name = tablename;
        }


        public TablesAttribute()
        {
        }
        #endregion
    }
}
